package com.z.ssmdemo.filter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginHandler {
    String USER_NAME_IN_SESSION = "USER_NAME_IN_SESSION";
   void login(HttpServletRequest request, HttpServletResponse response,String userId);
   boolean validateLogin(HttpServletRequest request);
   void loginOut(HttpServletRequest request,String username);
}
